package com.giveme5.common.api.exception;

import com.giveme5.common.api.entity.SimpleValidationError;
import com.giveme5.common.entity.SimpleResultMessage.CommonResultCode;
import com.giveme5.common.exception.SimpleException;

public class ValidationErrorException extends SimpleException {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public ValidationErrorException(SimpleValidationError sve) {
		super(CommonResultCode.COMMON_VALIDATION_ERROR);
		this.result = sve;
	}

}
